<?php
/**
 * Created by PhpStorm.
 * User: Guangpeng Chen
 * Date: 15-8-18
 * Time: 上午9:34
 */
include 'Ctrip.php';
$ctrip = new Api\Ctrip();
//$data = $ctrip->TicketSenicSpotSearch('杭州');
$data = $ctrip->TicketSenicSpotInfo(4140);
$ret = Api\Ctrip::raw_post('http://www.12301.cc/api/handler_ctrip.php', json_encode($data));
//$data = $ctrip->TicketResourcePriceAndInventory(4140, 251103);
//print_r($data);
//var_export($data);
var_export($ret);